package com.xju.subjectsystem.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * -*- coding:utf-8 -*-
 *
 * @projectName: Subjectsystem
 * @package: com.xju.subjectsystem.pojo
 * @className: PageResult
 * @author: 15171
 * @description: TODO : 封装分页返回结果
 * @date: 2024-12-09 0:45
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class PageResult<T> {
    /**
     * total    查询到的总记录数
     * rows     结果列表
     */
    private Long total;
    private List<T> rows;
}
